#include <string>
#include <stdio.h>
#include <stdlib.h>

#include "course.h"
#include "course_lib.h"

int main(){
	string inp;
	Course c;
//	getline(cin, inp);
//	fflush(cin);
//	c = Add_Course(inp);
	c = Course();
	cout<<c.getInfo()<<"\n";
//	fflush(cin);
	getline(cin, inp);
	c.setSubjectID(inp);
	getline(cin, inp);
	c.setLecturerID(inp);
	getline(cin, inp);
	c.setSem(atoi(inp.c_str()));
	getline(cin, inp);
	c.setRoom(inp);
	getline(cin, inp);
	c.setTime(inp);
	cout<<c.getInfo()<<"\n";
	cout<<c.getCourseID()<<"::"<<c.getLecturerID()<<"::"<<c.getSubjectID()<<"::"<<c.getSem()<<"::"<<c.getRoom()<<"::"<<c.getTime();
}